<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="UTF-8" />
		<meta name="author" content="wangbo" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>三角形练习</title>
		<style>
			div {
				float: left;
				width: 0;
				height: 0;
				border: 100px solid greenyellow;
			}
			/* 先变成3色,把一边变成0
			变成2色,需要再去掉一个边,
			 */
			.c1{
				border-top-color: transparent;
				border-left-width: 0;
				border-bottom-width: 0px;
			}
			.c2{
				border-top-width: 0px;
				border-right-width: 0;
				border-bottom-color: transparent;
			}
		</style>
	</head>
	<body>
		<div class="c1"></div>
		<div class="c2"></div>
	</body>
</html>
